WP_Defender\Component\Notification A

Total Complexity 66
Dependencies 15
Dependents 1
Total lines 479
Lines of code 339
Logical lines of code 146
Comment lines 89
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
validate_email()
A
48 9 33
send_subscription_confirm_email()
A
52 9 27
get_next_run()
A
51 8 27
find_module_by_slug()
S
57 7 17
get_users_pool()
S
47 4 36
dispatch_notification()
S
62 5 11
maybe_dispatch_report()
S
59 4 15
send_email()
S
47 2 38
get_modules()
S
56 3 20
get_modules_as_objects()
S
58 2 18
count_active()
S
65 3 9
get_inactive_modules()
S
66 3 9
send_unsubscribe_email()
S
51 1 26
send_subscribed_email()
S
56 1 17
create_unsubscribe_url()
S
60 1 13
create_subscribe_url()
S
64 1 10
add_hooks()
S
79 1 3
add_half_hour_cron_interval()
S
68 1 7
__construct()
S
80 1 3